import { SupplierRequest } from '@/plugins/supplier-request'
import { SUPERVISION_SURVEILLANCE_PATH, SUPERVISION_SURVEILLANCE_EXPORT_PATH } from './../constans'

// 供应商管理 - 监察核查 - 监察核查列表分页查询接口
export const querySupervisionSurveillanceListService = (data, loadingFn) => SupplierRequest({
  url: `${SUPERVISION_SURVEILLANCE_PATH}/page`,
  type: 'post',
  data,
  loadingFn
});

// 供应商管理 - 监察核查 - 监察核查列表 - 导出
export const exportSupervisionSurveillanceListService = (data, loadingFn) => SupplierRequest({
  url: `${SUPERVISION_SURVEILLANCE_EXPORT_PATH}/export`,
  type: 'get',
  data,
  loadingFn,
  isExport: true
});
